package com.oco.restcontroller.api.feignclient.userinfo.client.points;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(PointsServiceUrlConstant.EXCHANGE_INSTANCE)
public interface IPointsClient extends PointsServiceUrlConstant {

	String GROUP = "OrderClient";
	String thread_timeoutInMilliseconds = "" + (60 * 10000 * 5);

	/**
	 * 积分发放订单操作查询
	 * 
	 * @param orderOperationVo
	 * @retufindBaseOfferPartnerId
	 * @throws Exception
	 */
	@RequestMapping(value = REDEEM_SEARCH, method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
	@ResponseBody
	Map<String, Object> queryRedeemSearch(@RequestBody String json) throws Exception;

	
}
